package ygw.study.designPatterns.chain;

/**
 * <p>
 * 设计模式-责任链
 * </p>
 * <p>
 * Copyright:2021.All rights reserved.
 * </p>
 * <p>
 * Company:Zsoft
 * </p>
 * <p>
 * CreateDate:2021-05-18 15:57
 * </p>
 *
 * @author YuGongWen
 * @history Mender:YuGongWen；Date:2021-05-18 15:57；
 */
public class ErrorLogger extends AbstractLogger {

    public ErrorLogger(int level) {
        this.level = level;
    }

    @Override
    protected void write(String message) {
        System.out.println("Error Console::Logger: " + message);
    }
}